﻿using System;
using System.Collections.Generic;
using System.Text;
using Components.Enum;
using Model;

namespace ServiceHelper.Doc
{
    public class PurchaseReturnManager : DocumentManager
    {
        public override Sto8a00 CreateDefaultModel()
        {
            var model = new Sto8a00();
            model.Doctype = DocumentType.PurchaseReturn;
            return model;
        }

        public void ParseRow(Sto8a01 model)
        {
            if (model != null)
            {
                Doc.Rows.Add(model);
            }
        }
    }
}
